<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><META content="IE=7.0000" http-equiv="X-UA-Compatible">
<TITLE>支出项目填写</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<LINK rel=stylesheet type=text/css href="__PUBLIC__/Css/Style.css">
<style>
*{ font-size:12px;}
body {
	width: 580px;
	overflow: hidden;
}
.buttons {
	line-height: 30px;
	height: 30px;
	width: 80px;
}
</style>
<script src="__PUBLIC__/libs/js/jquery.js"type="text/javascript"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery-ui-datepicker.js"></script>
<script type="text/javascript">
function check(fr)
{
var content=document.getElementById("content");
  if(fr.shishou.value=="")
  {
     alert('支出金额不能为空！');
	 fr.shishou.focus();
	 return false
  }
  if(fr.address.value=="")
  {
     alert('地址不能为空！');
	 fr.address.focus();
	 return false
  }
   if(fr.contractdate.value=="")
  {
     alert('支出时间不能为空！');
	 fr.contractdate.focus();
	 return false
  }
  return true
}

window.onload = function(){
document.getElementById("shishou").focus();
}
</script>
</HEAD>
<BODY>
<DIV class="infoBox">
<form id="form1" onSubmit="return check(this)" name="form1" method="post" action="__URL__/zhichusave">
<TABLE width="100%" border=0 align="left" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TR>
<TD class=infoBoxTd width=68>支出金额：</TD>
<TD><INPUT style="WIDTH: 300px" id="shishou" class="formTitle" name="shishou"  onKeyDown="this.value=this.value.replace(/[^\d\.]/g,'')" onKeyUp="this.value=this.value.replace(/[^\d\.]/g,'')"  onafterpaste="this.value=this.value.replace(/[^\d\.]/g,'')" > <SPAN id="box_N_Title"></SPAN>
<LABEL>&nbsp;&nbsp; 必填</LABEL><input id="payitem" name="payitem" type="hidden" value="过桥费用"></TD></TR>
<TR>
<TR>
<TD class=infoBoxTd width=68>地点：</TD>
<TD><INPUT style="WIDTH: 300px" id="address" class="formTitle" name="address" > <SPAN id="box_N_Title"></SPAN>
<LABEL>&nbsp;&nbsp; 必填</LABEL></TD></TR>
<TR>
<TR>
<TD class=infoBoxTd width=68>支出方式：</TD>
<TD><input name="payway" type="radio" value="现金" checked>现金支出<input name="payway" type="radio" value="银行"> 银行支出
  <SPAN id="box_N_Title"></SPAN><LABEL></LABEL></TD></TR>
<TR>
<TR>
<TD class=infoBoxTd width=68>支出人：</TD>
<TD><select name="payuser" style="WIDTH: 300px">
 <volist name="userlist" id="vo"> 
  <option value="{$vo['rname']}">{$vo['rname']}</option>
  </volist> 
</select><SPAN id="box_N_Title"></SPAN><LABEL>&nbsp;&nbsp;必须填写</LABEL></TD></TR>
<TR>
<TR>
<TD class=infoBoxTd width=68>支出时间：</TD>
<TD><INPUT  id="contractdate"  style="WIDTH: 300px"  class="formTitle" name="contractdate" value="<?php echo(date("Y-m-d",time())) ?>"> <SPAN id="box_N_Title"></SPAN><LABEL>&nbsp;&nbsp;必须填写</LABEL></TD></TR>
<TR>
<TR>
<TD class=infoBoxTd width=68>支出备注：</TD>
<TD><INPUT  id="note"  style="WIDTH: 300px"  class="formTitle" name="note"> <SPAN id="box_N_Title"></SPAN>
<LABEL>&nbsp;&nbsp;</LABEL></TD></TR>
<TR>
<TD class=infoBoxTd>&nbsp;</TD>
<TD>
<input class="buttons" type="submit" value="保存数据"/></TD></TR></TBODY></TABLE>
</FORM></DIV>
<script type="text/javascript">
$(function(){
	$("#contractdate").datepicker({
		showWeek: true
	});
	$("#ui-datepicker-div").hide();
});
</script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/jquery-ui.css" />
</BODY></HTML>